﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Manage_Service_delcourse : ManagePageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string id = Request.Form["id"].Trim();
        if (!IsPostBack) {
            string result = "0";
            //删除课程，以及课程下知识点和试题
            bool res = new Exam.Core.DAL.Course().Delete(id);
            if (res) {
                result = "1";
            }
            Response.Write(result);
            Response.End();
        }
    }
}